UCF STIG Viewer Logo

Performance Charts must limit the number of concurrent connections permitted.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256612 VCPF-70-000002 SV-256612r888327_rule Medium
Description
Resource exhaustion can occur when an unlimited number of concurrent requests are allowed on a website, facilitating a denial-of-service attack. Unless the number of requests is controlled, the web server can consume enough system resources to cause a system crash. Mitigating this kind of attack will include limiting the number of concurrent HTTP/HTTPS requests. In Tomcat, each incoming request requires a thread for the duration of that request. If more simultaneous requests are received than can be handled by the currently available request processing threads, additional threads will be created up to the value of the "maxThreads" attribute.
STIG Date
VMware vSphere 7.0 vCenter Appliance Perfcharts Security Technical Implementation Guide 2023-02-21

Details

Check Text ( C-60287r888325_chk )
At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Executor/@maxThreads' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Expected result:

maxThreads="300"

If the output does not match the expected result, this is a finding.
Fix Text (F-60230r888326_fix)
Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

Navigate to the mode with the name of "tomcatThreadPool" and configure with the value 'maxThreads="300"'.

Note: The node should be configured as follows:



Restart the service with the following command:

# vmon-cli --restart perfcharts